package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.ControlSignalProjectDao;
import com.infoauto.opc.gateway.dao.EquipmentDao;
import com.infoauto.opc.gateway.model.gtm4.ControlSignalProject;
import com.infoauto.opc.gateway.model.gtm4.Equipment;
import com.infoauto.opc.gateway.service.ControlSignalProjectService;
import com.infoauto.opc.gateway.service.EquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ControlSignalProjectServiceImpl implements ControlSignalProjectService {
    @Autowired
    private ControlSignalProjectDao dao;

    @Override
    public ControlSignalProject selectByplcAdrr(String plcAdrr) {
        return dao.selectByplcAdrr(plcAdrr);
    }

    @Override
    public List<ControlSignalProject> selectByStationId(Integer stationId) {
        return dao.selectByStationId(stationId);
    }
}
